//
// Created by gabriel on 24-2-26.
//
#include <stdio.h>
#include<algorithm>
#include<iostream>
using namespace std;
#include "sort_head.h"
#include "calc_head.h"

void sortArray(std::vector<int>&arr)
{
    std::sort(arr.begin(),arr.end());
    int num0 = arr[0];
    int num1 = arr[1];
    cout << "调用静态库文件的方法计算num0+num1"<<endl;

    printf("num0 + num1 = %d\n", add(num0, num1));

}



